import request from "@/utils/request";

/**
 * 物料-分页查询
 * @param data 查询参数
 */
export const pageBasicMatterApi = (data) => {
  return request({
    url: "/api/matter/v1/page",
    method: "get",
    params: data,
  });
};

/**
 * 图纸
 * @param data 查询参数
 */
export const drawingIdApi = (id) => {
  return request({
    url: `/api/drawing/v1/details/${id}`,
    method: "get"
  });
};

